var ApiUrl = "https://test.mvip100.com/mobile";
var key = "";
 
Page({

  /**
   * 页面的初始数据
   */
  data: {
   
  },
  onLoad: function (options) {

    key = wx.getStorageSync('key');
    var refund_id = options.refund_id;
    var that = this;
    wx.request({
      url: ApiUrl + "/index.php?act=member_refund&op=get_refund_info",
      data: {
        "key": key, 
        "refund_id": refund_id
      },
      header: {
        'content-type': 'application/x-www-form-urlencoded'
      },
      method: 'get',
      success: function (res) {

        var refund_list = res.data.datas;
        that.setData({
          refund: refund_list.refund,//listBefore.concat(ordergroup),    
          pic_list: refund_list.pic_list,
          detail_array: refund_list.detail_array,
        });

      },
    });

  },
})